package com.wzh.glsc.ware.dao;

import com.wzh.glsc.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品库存
 * 
 * @author lcm
 * @email 1291529969@gmail.com
 * @date 2022-03-18 19:43:14
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    void updateWareSkuEntity(@Param("skuId") Long skuId, @Param("wareId") Long wareId,@Param("skuNum") Integer skuNum);

    List<WareSkuEntity> wareSkuBySkuIdList(@Param("skuIdList") List<Long> skuIdList);
}
